package edu.spec.dengyan.week02.class03;

public class jiecheng {
    public static void main(String[] args) {
        //后面数值太大 int 已经接收不了
        int i = 0;
        int j;
        int sum = 0;
        do {
            i++;
            System.out.println("--" + i + "--");
            j = i;
            int temp = 1;
            do {
                temp *= j;
                System.out.print(j);
                if (j > 1) {
                    System.out.print("*");
                }
                j--;
            } while (j > 0);
            System.out.print("=" + temp + "\n");
            sum += temp;
        } while (i < 100);
    }
}
